﻿using Transformable_Engine_v2.Engine.Network.Interfaces;

namespace Platformer_Example.Controller.Network.Messages
{
    public class SearchGameResponse : INetworkSerializable
    {
        public const int ID = 3;
        public int Id
        {
            get { return ID; }
            set { } //Not used. Leave there to make deserialization possible
        }

        public string Description { get; set; }
        public int CurrentSlot { get; set; }
        public int MaxSlot { get; set; }
        public string MapName { get; set; }

        public override string ToString()
        {
            return string.Format("{0} {1} {2}/{3}", Description, MapName, CurrentSlot, MaxSlot);
        }
    }
}